Optimal. Leaf size=32 \[ \frac{\csc (c+d x)}{a d}-\frac{\csc ^2(c+d x)}{2 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0677649, antiderivative size = 32, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {2706, 2606, 30, 8} \[ \frac{\csc (c+d x)}{a d}-\frac{\csc ^2(c+d x)}{2 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2706
Rule 2606
Rule 30
Rule 8
Rubi steps
\begin{align*} \int \frac{\cot ^3(c+d x)}{a+a \sin (c+d x)} \, dx &=-\frac{\int \cot (c+d x) \csc (c+d x) \, dx}{a}+\frac{\int \cot (c+d x) \csc ^2(c+d x) \, dx}{a}\\ &=\frac{\operatorname{Subst}(\int 1 \, dx,x,\csc (c+d x))}{a d}-\frac{\operatorname{Subst}(\int x \, dx,x,\csc (c+d x))}{a d}\\ &=\frac{\csc (c+d x)}{a d}-\frac{\csc ^2(c+d x)}{2 a d}\\ \end{align*}
Mathematica [A] time = 0.032614, size = 24, normalized size = 0.75 \[ -\frac{(\csc (c+d x)-2) \csc (c+d x)}{2 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.032, size = 30, normalized size = 0.9 \begin{align*} -{\frac{1}{da} \left ( - \left ( \sin \left ( dx+c \right ) \right ) ^{-1}+{\frac{1}{2\, \left ( \sin \left ( dx+c \right ) \right ) ^{2}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.11797, size = 35, normalized size = 1.09 \begin{align*} \frac{2 \, \sin \left (d x + c\right ) - 1}{2 \, a d \sin \left (d x + c\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.37048, size = 73, normalized size = 2.28 \begin{align*} -\frac{2 \, \sin \left (d x + c\right ) - 1}{2 \,{\left (a d \cos \left (d x + c\right )^{2} - a d\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{\cot ^{3}{\left (c + d x \right )}}{\sin{\left (c + d x \right )} + 1}\, dx}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.32292, size = 35, normalized size = 1.09 \begin{align*} \frac{2 \, \sin \left (d x + c\right ) - 1}{2 \, a d \sin \left (d x + c\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]